<div id="slider-wrapper">
    <div id="slider" class="nivoSlider">
        <?php foreach ($arySlider as $key => $value) {
            ?>
            <a href="<?php echo $value['slider_link']; ?>" target="_blank"><img src="<?php echo $sub_domain; ?>/images/upload/nivo/<?php echo $value['slider_image']; ?>" title=""></a>
        <?php } ?>
    </div>
</div>